<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/resource/UserPwoer.tld" prefix="p"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("userPwoer", request.getSession().getAttribute("userPwoer"));
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/DDMBase.js"></script>
<link rel="stylesheet" href="${path }/resource/weixin/css/personal-msg.css">
</head>
<body>
	<!-- 头部 -->
	<jsp:include page="_top.jsp"></jsp:include>
  <!-- 内容 -->
  <!-- 导航 -->
  <form class="form-horizontal" id="dataform"
		onsubmit="javascripr:return false;">
  <div class="">       
    <div class="margin-1 ">            
      <textarea class="back-msg" name="content" datatype="*1-10" rows="6" cols="40" placeholder="建议说明使用场景，帮助团队更快速地定位你的问题。比如：在某某页面图片无法显示，"></textarea>
    </div>
    <div class="margin-1"> 
      <input type="text" class="qq-phone padding-1" datatype="*1-10" name="lxfs" placeholder="请输入联系方式(QQ或手机号)">
    </div>
    <div class="margin-1 margin-t1 "><button  onclick="myForm.submit()" class="color-w back-y psw-btn">提交</button></div>
    
  </div>
  </form>
  <script type="text/javascript">
	var myForm, editor;
	$(function() {
		//初始化
		myForm = MForm.initForm({
			invokeUrl : "${path}/customer/addSuggest",
			afterSubmit : function(loj) {
				//跳转发布成功界面
				 //信息框
				  layer.open({
				    content: "感谢您的反馈哦"
				    ,btn: '确定',
				    end:function(){
				    	MTools.redirect("${path}/customer/redirect/personal");
				    }
				  });
			},
		});

		

	})
	</script>
</body>
</html>